<template>
	<view class="container">
		<img class="img" src="../../static/feixinlLogo.png" alt="" />
	</view>
</template>

<script>
	export default {
		data() {
			return {
				timer: null //定时器名称
			}
		},
		onShow() {
			// console.log('onshow');
			// this.timer = setInterval(function() {
				wx.reLaunch({
					url: '/pages/login/login'
				})
			// }, 500);
		},
		// onHide() { //离开页面前清除计时器
		// 	// console.log('onHide');
		// 	clearInterval(this.timer);
		// 	this.timer = null;
		// },
		methods: {

		}
	}
</script>

<style>
	.container {
		height: 100vh;
		text-align: center;
		background-image: url('../../static/index.png');
		background-size: 100% 100%;
		margin-top: -10%;
		display: flex;
		align-items: center;
		justify-content: center;
		flex-direction: column;
	}

	.img {
		width: 350rpx;
		height: 250rpx;
	}
</style>